<?php

require_once "core/application/models/musers/musers2.php";

class Musers3 extends Musers2 {

    private $_query;

    protected function getNames() {
        /**
         *  Получаем список ников на аккаунте
         */
        DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT `name` FROM `players` WHERE `account_name` = '$_SESSION[name]'";
        return DB::getInstance()->sql($this->_query);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }

}

?>
